Feature: Posts
Scenarios
|
Chart |
Status Progress |
||||
|---|---|---|---|---|---|
|
1
|
|
||||
| Total duration: | |||||
| 1m 31.928s |
Scenario: Como usuario administrador quiero modificar un post ya publicado para después editar su contenido
Before
0m 1.459s
Given
I navigate to page "http://localhost:2368/ghost/#/signin"
0m 2.035s
And
I wait for 5 seconds
0m 5.440s
And
I enter email "<USERNAME2>"
0m 0.489s
And
I wait for 1 seconds
0m 1.337s
And
I enter password "<PASSWORD2>"
0m 0.441s
And
I wait for 1 seconds
0m 1.334s
And
I click sign in button with selector "button[data-test-button='sign-in']"
0m 0.551s
And
I wait for 7 seconds
0m 7.437s
When
I go to the tags section with selector "a[data-test-nav='tags']"
0m 0.966s
And
I wait for 1 seconds
0m 1.387s
And
I click new tag button with selector "a.ember-view.gh-btn.gh-btn-primary"
0m 0.952s
And
I wait for 1 seconds
0m 1.495s
And
I enter title "$name_tagTitle" into field with selector "input[id='tag-name']"
0m 0.540s
And
I wait for 1 seconds
0m 1.622s
And
I click in the save button
0m 0.460s
And
I wait for 1 seconds
0m 1.561s
And
I go back to the tags section clicking the tags button with selector "a[data-test-nav='tags']"
0m 0.474s
And
I wait for 1 seconds
0m 1.448s
And
I click the new tag in order to edit it
0m 0.488s
+ Show Error
Error: ENOENT: no such file or directory, open 'a.ember263.div.span.svg'
at Object.openSync (node:fs:585:3)
at Object.readFileSync (node:fs:453:35)
at findStrategy (D:\MISO\Ciclo 2\Pruebas automatizadas de software\Semana 5\the-software-design-company\Entrega-semana-5\kraken\node_modules\webdriverio\build\utils\findStrategy.js:261:34)
at Browser.findElement (D:\MISO\Ciclo 2\Pruebas automatizadas de software\Semana 5\the-software-design-company\Entrega-semana-5\kraken\node_modules\webdriverio\build\utils\index.js:239:66)
at Browser.$ (D:\MISO\Ciclo 2\Pruebas automatizadas de software\Semana 5\the-software-design-company\Entrega-semana-5\kraken\node_modules\webdriverio\build\commands\browser\$.js:91:43)
at Browser.wrapCommandFn (D:\MISO\Ciclo 2\Pruebas automatizadas de software\Semana 5\the-software-design-company\Entrega-semana-5\kraken\node_modules\@wdio\utils\build\shim.js:136:38)
at D:\MISO\Ciclo 2\Pruebas automatizadas de software\Semana 5\the-software-design-company\Entrega-semana-5\kraken\node_modules\@wdio\utils\build\shim.js:153:69
And
I wait for 1 seconds
0m 0.000s
And
I enter title "$name_postTitleModified" into field with selector "textarea[data-test-editor-title-input]"
0m 0.000s
And
I wait for 1 seconds
0m 0.000s
Then
I update the post by clicking the Update button with selector "button[data-test-button='publish-save']"
0m 0.000s
And
I wait for 1 seconds
0m 0.000s
And
I go back to the list of posts clicking the posts button with selector "a[data-test-link='posts']"
0m 0.000s
And
I wait for 1 seconds
0m 0.000s
Then
I validate that the title of the post was modified successfully with "$$name_postTitleModified"
0m 0.000s
And
I send a signal to user 2 containing "Scenario1 complete"
0m 0.000s
After
0m 0.012s
Screenshots
Before
NO IMAGE AVAILABLE
Given
I navigate to page "http://localhost:2368/ghost/#/signin"
And
I wait for 5 seconds
And
I enter email "<USERNAME2>"
And
I wait for 1 seconds
And
I enter password "<PASSWORD2>"
And
I wait for 1 seconds
And
I click sign in button with selector "button[data-test-button='sign-in']"
And
I wait for 7 seconds
When
I go to the tags section with selector "a[data-test-nav='tags']"
And
I wait for 1 seconds
And
I click new tag button with selector "a.ember-view.gh-btn.gh-btn-primary"
And
I wait for 1 seconds
And
I enter title "$name_tagTitle" into field with selector "input[id='tag-name']"
And
I wait for 1 seconds
And
I click in the save button
And
I wait for 1 seconds
And
I go back to the tags section clicking the tags button with selector "a[data-test-nav='tags']"
And
I wait for 1 seconds
And
I click the new tag in order to edit it
And
I wait for 1 seconds
NO IMAGE AVAILABLE
And
I enter title "$name_postTitleModified" into field with selector "textarea[data-test-editor-title-input]"
NO IMAGE AVAILABLE
And
I wait for 1 seconds
NO IMAGE AVAILABLE
Then
I update the post by clicking the Update button with selector "button[data-test-button='publish-save']"
NO IMAGE AVAILABLE
And
I wait for 1 seconds
NO IMAGE AVAILABLE
And
I go back to the list of posts clicking the posts button with selector "a[data-test-link='posts']"
NO IMAGE AVAILABLE
And
I wait for 1 seconds
NO IMAGE AVAILABLE
Then
I validate that the title of the post was modified successfully with "$$name_postTitleModified"
NO IMAGE AVAILABLE
And
I send a signal to user 2 containing "Scenario1 complete"
NO IMAGE AVAILABLE
After
NO IMAGE AVAILABLE